Skip to content

Conversation

@twoertwein
Copy link
Contributor

closes #241

# It's excluded in our pyproject.toml.

# BAD IMPORTS (Y044)
from __future__ import annotations # Y044 "from __future__ import annotations" has no effect in stub files.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can also move it to the bad imports. I put it up there as I think __future__ imports have to be the very first import.

Copy link
Collaborator

@AlexWaygood AlexWaygood Jul 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having it here is fine, I think.

Copy link
Collaborator

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just two nits about the docs (most of our code snippets in the docs are surrounded by backticks rather than " quotes).

Also, feel free to give yourself credit in the CHANGELOG if you like ("Contributed by Torsten Wörtwein"). Not mandatory.

twoertwein and others added 3 commits July 6, 2022 16:13
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Copy link
Collaborator

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@AlexWaygood AlexWaygood merged commit 2c4850f into PyCQA:master Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Report from __future__ import annotations

2 participants